package com.squirrel.auxiliary.typeconversion;

import java.sql.PreparedStatement;
import java.util.Map;

/**
 * 数据类型转换接口
 * @author wangyan
 */
public interface TypeConversion {

    /**
     * 数据类型转换处理
     *
     * @param ps
     * @param columnType
     * @param dataMedium
     * @param inputField
     * @param i
     * @throws Exception
     */
    void dataConversion(PreparedStatement ps, String columnType, Map<String, Object> dataMedium, String inputField, int i) throws Exception;

}
